package gwtgaetools.client.comm;

import gwtgaetools.shared.model.GenericMessage;

public abstract class GenericMessageInterpreter<
Type, 
Message extends GenericMessage<Type>,
MessageProcessor> {

	public MessageProcessor mp;
	
	public GenericMessageInterpreter(MessageProcessor mp) {
		this.mp = mp;
	}
	
	public abstract void processMessage(Message message) throws Exception;

}
